package com.net.lnk.rpc.http.serialize;

import java.io.Serializable;

/**
 * RPC 调用请求封装类
 */
public class RpcRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	// 调用的接口
	private Class<?> interfaceClass;

	// 接口方法
	private String method;

	// 参数
	private Object[] parameter;

	public Class<?> getInterfaceClass() {
		return interfaceClass;
	}

	public void setInterfaceClass(Class<?> interfaceClass) {
		this.interfaceClass = interfaceClass;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Object[] getParameter() {
		return parameter;
	}

	public void setParameter(Object[] parameter) {
		this.parameter = parameter;
	}

}
